package sketch.skeleton;

import sketch.util.Checker;

public class JavaSourceCode extends SkeletonElement {

	public final String sourcecode;
	
	public JavaSourceCode(String sourcecode) {
		Checker.checkNull(sourcecode, "The source code string could not be null.");
		this.sourcecode = sourcecode.trim();
	}
	
	@Override
	public String toCodeString() {
		return this.sourcecode;
	}
}
